package com.gxa.service.commserve.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.gxa.dto.commservedto.RecruitmentRecordDto;
import com.gxa.entity.commserve.RecruitmentRecord;
import com.gxa.mapper.commserve.RecruitmentRecordMapper;
import com.gxa.service.commserve.RecruitmentRecordService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;


/**
 * <p>
 *  服务实现类
 * </p>
 *
 * @author yjl
 * @since 2022-10-12 11:18:00
 */
@Service
public class RecruitmentRecordServiceImpl extends ServiceImpl<RecruitmentRecordMapper, RecruitmentRecord> implements RecruitmentRecordService {

    @Autowired
    private RecruitmentRecordMapper recruitmentRecordMapper;
    @Override
    public List<RecruitmentRecord> queryList(Integer id) {
        List<RecruitmentRecord> recruitmentRecordList = this.recruitmentRecordMapper.queryList(id);
        return recruitmentRecordList;
    }

    @Override
    public void addRecruitmentRecord(RecruitmentRecordDto recruitmentRecordDto) {
        this.recruitmentRecordMapper.addRecruitmentRecord(recruitmentRecordDto);
    }
}
